package com.ruoyi.report.service;

import com.ruoyi.report.model.DataEntity;
import com.ruoyi.report.model.RepoTable;
import com.ruoyi.report.model.dto.repo.DataSourceDTO;
import com.ruoyi.report.model.dto.repo.FilterCriteria;
import com.ruoyi.report.model.vo.BillResultVO;

import java.util.List;
import java.util.Map;

public interface RepoService {
    Map<String, Map<String, Double>> getData(DataSourceDTO dataSourceDTO);

    DataEntity convertData(String repoCode);

    //查询所有配置信息
    List<RepoTable> list(RepoTable repoTable);

    //根据id获取配置信息
    RepoTable getById(String repoCode);

    //保存和修改配置信息
    void saveOrUpdateRepo(RepoTable repoTable);

    //删除配置信息
    void deleteRepo(String repoCode);
}
